// pages/someoneAppoint/someoneAppoint.js
Page({

toIndex(){
  wx.switchTab({
    url: '/pages/index/index',
  })
}
})